package com.axin.auth;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

/**
 * 授权启动类
 *
 * @Author 阿欣
 * @Date 2021/8/19 15:11
 **/
@EnableFeignClients(basePackages="com.axin.system.api")
@EnableDiscoveryClient
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@ComponentScan(basePackages = {
        "com.axin.auth",
        "com.axin.common"
})
public class AxinAuthApplication {

    public static void main(String[] args) {
        SpringApplication.run(AxinAuthApplication.class, args);
        System.out.println("============  认证授权中心启动成功  ============");


    }
}
